Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: isolate build for protocol and e2e tests #627

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

kanej
Copy link
Member

@kanej kanej commented Jan 15, 2025

The typescript build step for ./test/e2e and ./test/protocol in our test suite was done by a global tsc build at the root of the project and based on the root ./tsconfig.json.

This created lots of pain points in upgrading the version of typescript. This PR introduces individual scoped builds for both e2e and protocol.

New tsconfig files were introduced for each based on our other packages.

@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Jan 15, 2025
@kanej kanej force-pushed the chore/move-tests-build-to-own-tsconfig branch 5 times, most recently from 802bb39 to 5e6a83a Compare January 15, 2025 17:11
Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.52%. Comparing base (1ddb6d7) to head (af10d73).

Additional details and impacted files
@@             Coverage Diff              @@
##           development     #627   +/-   ##
============================================
  Coverage        54.52%   54.52%           
============================================
  Files              226      226           
  Lines             5199     5199           
  Branches           800      800           
============================================
  Hits              2835     2835           
  Misses            2127     2127           
  Partials           237      237           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kanej kanej force-pushed the chore/move-tests-build-to-own-tsconfig branch 9 times, most recently from 39cac07 to be1894b Compare January 15, 2025 18:11
This was previously implicit and depended on a the root build. This
clashes with my attempts to update the typescript version, so I am
scoping the e2e tests to their own build.
@kanej kanej force-pushed the chore/move-tests-build-to-own-tsconfig branch from be1894b to af10d73 Compare January 15, 2025 18:14
@kanej kanej changed the title chore: add tsconfig and build for e2e chore: isolate build for protocol and e2e tests Jan 29, 2025
@kanej kanej marked this pull request as ready for review January 29, 2025 16:26
@kanej kanej requested a review from antico5 January 29, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant